x86: wrap kexec feature with CONFIG_KEXEC
authorJonathan Creekmore <jonathan.creekmore@gmail.com>
Wed, 9 Sep 2015 14:28:27 +0000 (16:28 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 9 Sep 2015 14:28:27 +0000 (16:28 +0200)
commitc21f69e8a113818639027c7cd86773777c85fe3d
tree99e8a47d8648b921b5db740a8028ce4744e5b321
parent780f119c8b073b36bcc098ef7b7f70fd1dc17c96
x86: wrap kexec feature with CONFIG_KEXEC

Add the appropriate #if checks around the kexec code in the x86 codebase
so that the feature can actually be turned off by the flag instead of
always required to be enabled on x86.

Signed-off-by: Jonathan Creekmore <jonathan.creekmore@gmail.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: David Vrabel <david.vrabel@citrix.com>
xen/Rules.mk
xen/arch/x86/Makefile
xen/arch/x86/setup.c
xen/arch/x86/x86_64/compat/entry.S
xen/arch/x86/x86_64/entry.S
xen/common/Makefile
xen/include/asm-x86/config.h
xen/include/xen/kexec.h